package com.pc.scrs.bean.po;

import lombok.Data;

import java.io.Serializable;
import java.util.List;
import javax.annotation.Generated;

@Data
public class Perms implements Serializable {
    private Integer id;
    private String name;
    private String code;
    private String link;
    private Integer parentId;
    private String type;
    private String status;
    private String perCode;
    private String icon;

    /**
     * 子菜单
     */
    private List<Perms> childrenMenu;
    private static final long serialVersionUID = 1L;

    @Override
    public String toString() {
        return "Perms{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", code='" + code + '\'' +
                ", link='" + link + '\'' +
                ", parentId=" + parentId +
                ", type='" + type + '\'' +
                ", status='" + status + '\'' +
                ", perCode='" + perCode + '\'' +
                ", icon='" + icon + '\'' +
                '}' + "\n";
    }
}
